From 5eb754ae08ee704eb256e6eba0a9945b522400a7 Mon Sep 17 00:00:00 2001 From: Matthew Vernon Date: Tue, 25 Aug 2026 16:28:53 +0100 Subject: [PATCH] Update symbols files to reflect new versioned symbols After discussion in #1119027 and with upstream in https://github.com/PCRE2Project/pcre2/issues/832 We think this is the correct approach and a SONAME bump is not required. --- debian/libpcre2-16-0.symbols | 80 +--------------------------------- debian/libpcre2-32-0.symbols | 80 +--------------------------------- debian/libpcre2-8-0.symbols | 80 +--------------------------------- debian/libpcre2-posix3.symbols | 9 +--- debian/rules | 2 +- 5 files changed, 5 insertions(+), 246 deletions(-) diff --git a/debian/libpcre2-16-0.symbols b/debian/libpcre2-16-0.symbols index dd82f8e..8299b56 100644 --- a/debian/libpcre2-16-0.symbols +++ b/debian/libpcre2-16-0.symbols @@ -1,80 +1,2 @@ libpcre2-16.so.0 libpcre2-16-0 #MINVER# - pcre2_callout_enumerate_16@Base 10.22 - pcre2_code_copy_16@Base 10.22 - pcre2_code_copy_with_tables_16@Base 10.32 - pcre2_code_free_16@Base 10.22 - pcre2_compile_16@Base 10.22 - pcre2_compile_context_copy_16@Base 10.22 - pcre2_compile_context_create_16@Base 10.22 - pcre2_compile_context_free_16@Base 10.22 - pcre2_config_16@Base 10.22 - pcre2_convert_context_copy_16@Base 10.32 - pcre2_convert_context_create_16@Base 10.32 - pcre2_convert_context_free_16@Base 10.32 - pcre2_converted_pattern_free_16@Base 10.32 - pcre2_dfa_match_16@Base 10.22 - pcre2_general_context_copy_16@Base 10.22 - pcre2_general_context_create_16@Base 10.22 - pcre2_general_context_free_16@Base 10.22 - pcre2_get_error_message_16@Base 10.22 - pcre2_get_mark_16@Base 10.22 - pcre2_get_match_data_heapframes_size_16@Base 10.43 - pcre2_get_match_data_size_16@Base 10.34 - pcre2_get_ovector_count_16@Base 10.22 - pcre2_get_ovector_pointer_16@Base 10.22 - pcre2_get_startchar_16@Base 10.22 - pcre2_jit_compile_16@Base 10.22 - pcre2_jit_free_unused_memory_16@Base 10.22 - pcre2_jit_match_16@Base 10.22 - pcre2_jit_stack_assign_16@Base 10.22 - pcre2_jit_stack_create_16@Base 10.22 - pcre2_jit_stack_free_16@Base 10.22 - pcre2_maketables_16@Base 10.22 - pcre2_maketables_free_16@Base 10.34 - pcre2_match_16@Base 10.22 - pcre2_match_context_copy_16@Base 10.22 - pcre2_match_context_create_16@Base 10.22 - pcre2_match_context_free_16@Base 10.22 - pcre2_match_data_create_16@Base 10.22 - pcre2_match_data_create_from_pattern_16@Base 10.22 - pcre2_match_data_free_16@Base 10.22 - pcre2_next_match_16@Base 10.47 - pcre2_pattern_convert_16@Base 10.32 - pcre2_pattern_info_16@Base 10.22 - pcre2_serialize_decode_16@Base 10.22 - pcre2_serialize_encode_16@Base 10.22 - pcre2_serialize_free_16@Base 10.22 - pcre2_serialize_get_number_of_codes_16@Base 10.22 - pcre2_set_bsr_16@Base 10.22 - pcre2_set_callout_16@Base 10.22 - pcre2_set_character_tables_16@Base 10.22 - pcre2_set_compile_extra_options_16@Base 10.32 - pcre2_set_compile_recursion_guard_16@Base 10.22 - pcre2_set_depth_limit_16@Base 10.32 - pcre2_set_glob_escape_16@Base 10.32 - pcre2_set_glob_separator_16@Base 10.32 - pcre2_set_heap_limit_16@Base 10.32 - pcre2_set_match_limit_16@Base 10.22 - pcre2_set_max_pattern_compiled_length_16@Base 10.44 - pcre2_set_max_pattern_length_16@Base 10.22 - pcre2_set_max_varlookbehind_16@Base 10.43 - pcre2_set_newline_16@Base 10.22 - pcre2_set_offset_limit_16@Base 10.22 - pcre2_set_optimize_16@Base 10.45~rc1 - pcre2_set_parens_nest_limit_16@Base 10.22 - pcre2_set_recursion_limit_16@Base 10.22 - pcre2_set_recursion_memory_management_16@Base 10.22 - pcre2_set_substitute_callout_16@Base 10.34 - pcre2_set_substitute_case_callout_16@Base 10.45~rc1 - pcre2_substitute_16@Base 10.22 - pcre2_substring_copy_byname_16@Base 10.22 - pcre2_substring_copy_bynumber_16@Base 10.22 - pcre2_substring_free_16@Base 10.22 - pcre2_substring_get_byname_16@Base 10.22 - pcre2_substring_get_bynumber_16@Base 10.22 - pcre2_substring_length_byname_16@Base 10.22 - pcre2_substring_length_bynumber_16@Base 10.22 - pcre2_substring_list_free_16@Base 10.22 - pcre2_substring_list_get_16@Base 10.22 - pcre2_substring_nametable_scan_16@Base 10.22 - pcre2_substring_number_from_name_16@Base 10.22 + (symver)PCRE2_10.48 10.48 diff --git a/debian/libpcre2-32-0.symbols b/debian/libpcre2-32-0.symbols index 37d7248..27669f5 100644 --- a/debian/libpcre2-32-0.symbols +++ b/debian/libpcre2-32-0.symbols @@ -1,80 +1,2 @@ libpcre2-32.so.0 libpcre2-32-0 #MINVER# - pcre2_callout_enumerate_32@Base 10.22 - pcre2_code_copy_32@Base 10.22 - pcre2_code_copy_with_tables_32@Base 10.32 - pcre2_code_free_32@Base 10.22 - pcre2_compile_32@Base 10.22 - pcre2_compile_context_copy_32@Base 10.22 - pcre2_compile_context_create_32@Base 10.22 - pcre2_compile_context_free_32@Base 10.22 - pcre2_config_32@Base 10.22 - pcre2_convert_context_copy_32@Base 10.32 - pcre2_convert_context_create_32@Base 10.32 - pcre2_convert_context_free_32@Base 10.32 - pcre2_converted_pattern_free_32@Base 10.32 - pcre2_dfa_match_32@Base 10.22 - pcre2_general_context_copy_32@Base 10.22 - pcre2_general_context_create_32@Base 10.22 - pcre2_general_context_free_32@Base 10.22 - pcre2_get_error_message_32@Base 10.22 - pcre2_get_mark_32@Base 10.22 - pcre2_get_match_data_heapframes_size_32@Base 10.43 - pcre2_get_match_data_size_32@Base 10.34 - pcre2_get_ovector_count_32@Base 10.22 - pcre2_get_ovector_pointer_32@Base 10.22 - pcre2_get_startchar_32@Base 10.22 - pcre2_jit_compile_32@Base 10.22 - pcre2_jit_free_unused_memory_32@Base 10.22 - pcre2_jit_match_32@Base 10.22 - pcre2_jit_stack_assign_32@Base 10.22 - pcre2_jit_stack_create_32@Base 10.22 - pcre2_jit_stack_free_32@Base 10.22 - pcre2_maketables_32@Base 10.22 - pcre2_maketables_free_32@Base 10.34 - pcre2_match_32@Base 10.22 - pcre2_match_context_copy_32@Base 10.22 - pcre2_match_context_create_32@Base 10.22 - pcre2_match_context_free_32@Base 10.22 - pcre2_match_data_create_32@Base 10.22 - pcre2_match_data_create_from_pattern_32@Base 10.22 - pcre2_match_data_free_32@Base 10.22 - pcre2_next_match_32@Base 10.47 - pcre2_pattern_convert_32@Base 10.32 - pcre2_pattern_info_32@Base 10.22 - pcre2_serialize_decode_32@Base 10.22 - pcre2_serialize_encode_32@Base 10.22 - pcre2_serialize_free_32@Base 10.22 - pcre2_serialize_get_number_of_codes_32@Base 10.22 - pcre2_set_bsr_32@Base 10.22 - pcre2_set_callout_32@Base 10.22 - pcre2_set_character_tables_32@Base 10.22 - pcre2_set_compile_extra_options_32@Base 10.32 - pcre2_set_compile_recursion_guard_32@Base 10.22 - pcre2_set_depth_limit_32@Base 10.32 - pcre2_set_glob_escape_32@Base 10.32 - pcre2_set_glob_separator_32@Base 10.32 - pcre2_set_heap_limit_32@Base 10.32 - pcre2_set_match_limit_32@Base 10.22 - pcre2_set_max_pattern_compiled_length_32@Base 10.44 - pcre2_set_max_pattern_length_32@Base 10.22 - pcre2_set_max_varlookbehind_32@Base 10.43 - pcre2_set_newline_32@Base 10.22 - pcre2_set_offset_limit_32@Base 10.22 - pcre2_set_optimize_32@Base 10.45~rc1 - pcre2_set_parens_nest_limit_32@Base 10.22 - pcre2_set_recursion_limit_32@Base 10.22 - pcre2_set_recursion_memory_management_32@Base 10.22 - pcre2_set_substitute_callout_32@Base 10.34 - pcre2_set_substitute_case_callout_32@Base 10.45~rc1 - pcre2_substitute_32@Base 10.22 - pcre2_substring_copy_byname_32@Base 10.22 - pcre2_substring_copy_bynumber_32@Base 10.22 - pcre2_substring_free_32@Base 10.22 - pcre2_substring_get_byname_32@Base 10.22 - pcre2_substring_get_bynumber_32@Base 10.22 - pcre2_substring_length_byname_32@Base 10.22 - pcre2_substring_length_bynumber_32@Base 10.22 - pcre2_substring_list_free_32@Base 10.22 - pcre2_substring_list_get_32@Base 10.22 - pcre2_substring_nametable_scan_32@Base 10.22 - pcre2_substring_number_from_name_32@Base 10.22 + (symver)PCRE2_10.48 10.48 diff --git a/debian/libpcre2-8-0.symbols b/debian/libpcre2-8-0.symbols index 1796a0a..f6640fe 100644 --- a/debian/libpcre2-8-0.symbols +++ b/debian/libpcre2-8-0.symbols @@ -1,80 +1,2 @@ libpcre2-8.so.0 libpcre2-8-0 #MINVER# - pcre2_callout_enumerate_8@Base 10.22 - pcre2_code_copy_8@Base 10.22 - pcre2_code_copy_with_tables_8@Base 10.32 - pcre2_code_free_8@Base 10.22 - pcre2_compile_8@Base 10.22 - pcre2_compile_context_copy_8@Base 10.22 - pcre2_compile_context_create_8@Base 10.22 - pcre2_compile_context_free_8@Base 10.22 - pcre2_config_8@Base 10.22 - pcre2_convert_context_copy_8@Base 10.32 - pcre2_convert_context_create_8@Base 10.32 - pcre2_convert_context_free_8@Base 10.32 - pcre2_converted_pattern_free_8@Base 10.32 - pcre2_dfa_match_8@Base 10.22 - pcre2_general_context_copy_8@Base 10.22 - pcre2_general_context_create_8@Base 10.22 - pcre2_general_context_free_8@Base 10.22 - pcre2_get_error_message_8@Base 10.22 - pcre2_get_mark_8@Base 10.22 - pcre2_get_match_data_heapframes_size_8@Base 10.43 - pcre2_get_match_data_size_8@Base 10.34 - pcre2_get_ovector_count_8@Base 10.22 - pcre2_get_ovector_pointer_8@Base 10.22 - pcre2_get_startchar_8@Base 10.22 - pcre2_jit_compile_8@Base 10.22 - pcre2_jit_free_unused_memory_8@Base 10.22 - pcre2_jit_match_8@Base 10.22 - pcre2_jit_stack_assign_8@Base 10.22 - pcre2_jit_stack_create_8@Base 10.22 - pcre2_jit_stack_free_8@Base 10.22 - pcre2_maketables_8@Base 10.22 - pcre2_maketables_free_8@Base 10.34 - pcre2_match_8@Base 10.22 - pcre2_match_context_copy_8@Base 10.22 - pcre2_match_context_create_8@Base 10.22 - pcre2_match_context_free_8@Base 10.22 - pcre2_match_data_create_8@Base 10.22 - pcre2_match_data_create_from_pattern_8@Base 10.22 - pcre2_match_data_free_8@Base 10.22 - pcre2_next_match_8@Base 10.47 - pcre2_pattern_convert_8@Base 10.32 - pcre2_pattern_info_8@Base 10.22 - pcre2_serialize_decode_8@Base 10.22 - pcre2_serialize_encode_8@Base 10.22 - pcre2_serialize_free_8@Base 10.22 - pcre2_serialize_get_number_of_codes_8@Base 10.22 - pcre2_set_bsr_8@Base 10.22 - pcre2_set_callout_8@Base 10.22 - pcre2_set_character_tables_8@Base 10.22 - pcre2_set_compile_extra_options_8@Base 10.32 - pcre2_set_compile_recursion_guard_8@Base 10.22 - pcre2_set_depth_limit_8@Base 10.32 - pcre2_set_glob_escape_8@Base 10.32 - pcre2_set_glob_separator_8@Base 10.32 - pcre2_set_heap_limit_8@Base 10.32 - pcre2_set_match_limit_8@Base 10.22 - pcre2_set_max_pattern_compiled_length_8@Base 10.44 - pcre2_set_max_pattern_length_8@Base 10.22 - pcre2_set_max_varlookbehind_8@Base 10.43 - pcre2_set_newline_8@Base 10.22 - pcre2_set_offset_limit_8@Base 10.22 - pcre2_set_optimize_8@Base 10.45~rc1 - pcre2_set_parens_nest_limit_8@Base 10.22 - pcre2_set_recursion_limit_8@Base 10.22 - pcre2_set_recursion_memory_management_8@Base 10.22 - pcre2_set_substitute_callout_8@Base 10.34 - pcre2_set_substitute_case_callout_8@Base 10.45~rc1 - pcre2_substitute_8@Base 10.22 - pcre2_substring_copy_byname_8@Base 10.22 - pcre2_substring_copy_bynumber_8@Base 10.22 - pcre2_substring_free_8@Base 10.22 - pcre2_substring_get_byname_8@Base 10.22 - pcre2_substring_get_bynumber_8@Base 10.22 - pcre2_substring_length_byname_8@Base 10.22 - pcre2_substring_length_bynumber_8@Base 10.22 - pcre2_substring_list_free_8@Base 10.22 - pcre2_substring_list_get_8@Base 10.22 - pcre2_substring_nametable_scan_8@Base 10.22 - pcre2_substring_number_from_name_8@Base 10.22 + (symver)PCRE2_10.48 10.48 diff --git a/debian/libpcre2-posix3.symbols b/debian/libpcre2-posix3.symbols index a17ee83..dfa648e 100644 --- a/debian/libpcre2-posix3.symbols +++ b/debian/libpcre2-posix3.symbols @@ -1,9 +1,2 @@ libpcre2-posix.so.3 libpcre2-posix3 #MINVER# - pcre2_regcomp@Base 10.34 - pcre2_regerror@Base 10.34 - pcre2_regexec@Base 10.34 - pcre2_regfree@Base 10.34 -#MISSING: 10.39-1# regcomp@Base 10.34 -#MISSING: 10.39-1# regerror@Base 10.34 -#MISSING: 10.39-1# regexec@Base 10.34 -#MISSING: 10.39-1# regfree@Base 10.34 + (symver)PCRE2_10.48 10.48 diff --git a/debian/rules b/debian/rules index 9a09905..1bf190f 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,7 @@ include /usr/share/dpkg/default.mk export DEB_CFLAGS_MAINT_APPEND = -Dregcomp=PCRE2regcomp -Dregexec=PCRE2regexec -Dregerror=PCRE2regerror -Dregfree=PCRE2regfree -deb_maint_conf_args = --enable-pcre2-16 --enable-pcre2-32 --disable-pcre2grep-callout --disable-symvers +deb_maint_conf_args = --enable-pcre2-16 --enable-pcre2-32 --disable-pcre2grep-callout #enable JIT only on architectures that support it (see pcre2jit.3) ifneq ($(filter amd64 armhf arm64 i386 loong64 mips mipsel mips64el powerpc ppc64 ppc64el riscv64 s390x, $(DEB_HOST_ARCH)),) deb_maint_conf_args +=--enable-jit -- 2.30.2